package com.peas.platform.module.icims.budget.project.controller.vo;

import com.peas.platform.common.core.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.*;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("二级项目申报附件")
public class BudgetProjectTwoFileVo extends BaseVo {

    // （二级项目申报表）外键
    @ApiModelProperty(value = "二级项目申报表ID", notes = "")
    private Long projectTwoId;

    @ApiModelProperty(value = "附件类型", notes = "")
    @Size(max = 20, message = "附件类型不能超过20个字符")
    private String fileType;

    // （附件表）外键
    @ApiModelProperty(value = "附件ID", notes = "")
    private Long attachmentId;

    @ApiModelProperty(value = "附件名称", notes = "")
    @Size(max = 200, message = "附件名称不能超过200个字符")
    private String attachmentName;

}
